package com.yan.oa.mapper;

import com.yan.oa.bean.Notify;
import com.yan.oa.bean.NotifyDTO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

/**
 * 通知通告
 */
@Mapper
public interface NotifyMapper {

	Notify get(Long id);

	List<Notify> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(Notify  notify);

	int update(Notify notify);

	int remove(Long id);

	int batchRemove(Long[] ids);

	List<Notify > listByIds(Long[] ids);

	int countDTO(Map<String, Object> map);

	List<NotifyDTO> listDTO(Map<String, Object> map);
}
